<template>
  <div>
    <swiper>
      <swiper-slide v-for="item in list.swiperList" :key="item.id">
        <img class="swiper-img" :src="item.imgUrl" alt="" />
      </swiper-slide>
    </swiper>
    <div class="swiper-pagination" slot="pagination"></div>
  </div>
</template>

<script>
export default {
  props: {
    list: {
      type: Object,
      required: true,
    },
  },
};
</script>

<style lang="stylus" scoped>
swiper
  width: 100%
  padding: 50%
.swiper-img
   width: 100%
</style>